<?php
/**
 * Created by PhpStorm.
 * User: coolinmind
 * Date: 28/11/2018
 * Time: 11:31
 */

namespace App\Services\Mobile;
use App\Services\Mobile\Withdraw\WithdrawLogic;

class Withdraw
{
	//通知
    public function agentInform($data)
    {
        ValidateWithdraw::checkValidate($data, ['info_id']);
        return (new WithdrawLogic())->agentInform($data);
    }
    
    //代理申请提现
    public function kiting($data)
    {
        ValidateWithdraw::checkValidate($data, ['info_id']);
        return (new WithdrawLogic())->kiting($data);
    }

    //我的个人中心
    public function person($data)
    {
        ValidateWithdraw::checkValidate($data, ['info_id']);
        return (new WithdrawLogic())->person($data);
    }

    //历史记录
    public function historyRecord($data)
    {
        ValidateWithdraw::checkValidate($data, ['info_id']);
        return (new WithdrawLogic())->historyRecord($data);
    }

    //代理用户
    public function agencyUser($data)
    {
        ValidateWithdraw::checkValidate($data, ['id']);
        return (new WithdrawLogic())->agencyUser($data);
    }

}